package com.auth.control.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 用户角色表
 * </p>
 *
 * @author cyj
 * @since 2020-10-21
 */
@Accessors(chain = true)
@Data
@ApiModel("用户角色关联")
public class UserRoleDto implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    private Long userId;
    /**
     * 角色id
     */
    @ApiModelProperty("角色id")
    private Long roleId;
}
